;
(function() {

    if (!sessionStorage.memoryClassLoaded) {
        var box = document.createElement('div')
        box.className = 'spinner'
        box.innerHTML = '<div class="double-bounce1"></div>\
            <div class="double-bounce2"></div>'
        document.body.appendChild(box)
        setTimeout(function() {
            document.body.removeChild(box)
            sessionStorage.memoryClassLoaded = true
            document.querySelector('#app').style.opacity = 1
        }, 2000)
    } else {
        document.querySelector('#app').style.opacity = 1
    }

})();